package com.jwx.mycar.entity.vo;

public class ResultVo {

    private int code;
    private String msg;
    private Object data;

    public ResultVo(){
        this.code = -1;
        this.msg = null;
        this.data = null;
    }
    public ResultVo(int code, String msg){
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg(){
        return msg;
    }

    public Object getData(){
        return data;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
